package com.qianli.cashmama.trade.repo;

import com.qianli.cashmama.trade.domain.model.DeductFlow;

/**
 * Created with IntelliJ IDEA.
 * User: pavan
 * Date: 2020/3/25
 * Time: 下午4:08
 */
public interface DeductFlowRepository {

    /**
     * 持久化保存
     *
     * @param deductFlow
     */
    void store(DeductFlow deductFlow);

    /**
     * 从数据库装载
     *
     * @param id
     * @return
     */
    DeductFlow load(long id);
}
